package cn.datax.service.data.market.dao;

import cn.datax.common.base.BaseDao;
import cn.datax.service.data.market.cata.entity.CataRelationEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 * 部门关系表 Mapper 接口
 * </p>
 *
 * @author yuwei
 * @since 2019-11-22
 */
@Mapper
public interface CataRelationDao extends BaseDao<CataRelationEntity> {

    void insertBatch(List<CataRelationEntity> list);

    void deleteByAncestor(String id);
}
